package com.guit.hrms.dto.otherDept;

import jakarta.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class AddOtherDeptDTO {
    @NotNull(message = "otherDeptNumber不得为空")
    private String otherDeptNumber;
    @NotNull(message = "otherDeptParentId不得为空")
    private Integer otherDeptParentId;
    @NotNull(message = "otherDeptName不得为空")
    private String otherDeptName;
    @NotNull(message = "otherDeptManagerId不得为空")
    private String otherDeptManagerId;
    @NotNull(message = "otherDeptProfile不得为空")
    private String otherDeptProfile;
    @NotNull(message = "otherDeptLevel不得为空")
    private Integer otherDeptLevel;
}
